package cn.pegasus.teamwork.pegasus.service;

import java.util.Map;

import cn.iyizhan.teamwork.base.service.BaseService;
import cn.iyizhan.teamwork.base.util.PageObject;
import cn.pegasus.teamwork.pegasus.entity.BussPropertyInfo;
import cn.pegasus.teamwork.pegasus.mapper.BussPropertyInfoMapper;



/**
 * @author cyl
 * @version 
 */
public interface BussPropertyInfoService extends BaseService<BussPropertyInfo,BussPropertyInfoMapper>  {

	//分页查询
	public PageObject<BussPropertyInfo> PageList(Map<String, Object> map);
	//分页查询
	public PageObject<BussPropertyInfo> PageListAdu(Map<String, Object> map);
	
	//新增
	public void addProperty(Long userId,Map<String,Object> map);
	
	//修改
	public void updateProperty(Long userId,Map<String,Object> map);
	
	//删除
	public void deleteProperty(Long userId,Long id);
	
	//查询详情
	public BussPropertyInfo findPropertyInfo(Long id);
	
	//提款申请
	public void drawing(Long id,double balance);
	
	//确认打款
	public void play(Long userId,Long id,Long balance);
	
	//物业结算
	public void propertySettlement() throws Exception;
	
}
